#include"mystdio.c"

int main()
{
    myFILE* fp = my_fopen("log.txt","w");
    if(fp==NULL)
    {
        perror("malloc");
        exit(1);
    }
    const char* s = "hello mystdio\n";
    my_fwrite(fp,s,strlen(s));

    //my_fclose(fp);

    return 0;
}
